gdk: Rewrite docs some more
authorBenjamin Otte <otte@redhat.com>
Thu, 24 Nov 2016 17:31:11 +0000 (18:31 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 24 Nov 2016 17:31:11 +0000 (18:31 +0100)
Now gdk_window_process_updates() isn't mentioned either.

GDK takes care of redrawing, not you!

gdk/gdkwindow.c

index 7f133ffd22a4db7c8d578cb17721793462b5342b..4051d8dff41cd6bd3ac31274eef2b0e7a1be3aa3 100644 (file)
@@ -3739,11 +3739,7 @@ gdk_window_invalidate_maybe_recurse_full (GdkWindow            *window,
  * @user_data: data passed to @child_func
  *
  * Adds @region to the update area for @window. The update area is the
- * region that needs to be redrawn, or “dirty region.” The call
- * gdk_window_process_updates() sends one or more expose events to the
- * window, which together cover the entire update area. An
- * application would normally redraw the contents of @window in
- * response to those expose events.
+ * region that needs to be redrawn, or “dirty region.”
  *
  * GDK will process all updates whenever the frame clock schedules a redraw,
  * so there’s no need to do forces redraws manually, you just need to
@@ -3789,11 +3785,7 @@ gdk_window_invalidate_region_full (GdkWindow       *window,
  * @invalidate_children: %TRUE to also invalidate child windows
  *
  * Adds @region to the update area for @window. The update area is the
- * region that needs to be redrawn, or “dirty region.” The call
- * gdk_window_process_updates() sends one or more expose events to the
- * window, which together cover the entire update area. An
- * application would normally redraw the contents of @window in
- * response to those expose events.
+ * region that needs to be redrawn, or “dirty region.”
  *
  * GDK will process all updates whenever the frame clock schedules a redraw,
  * so there’s no need to do forces redraws manually, you just need to
@@ -3821,12 +3813,7 @@ gdk_window_invalidate_region (GdkWindow       *window,
  * @window: a #GdkWindow
  * @region: a #cairo_region_t
  *
- * Adds @region to the update area for @window. The update area is the
- * region that needs to be redrawn, or “dirty region.” The call
- * gdk_window_process_updates() sends one or more expose events to the
- * window, which together cover the entire update area. An
- * application would normally redraw the contents of @window in
- * response to those expose events.
+ * Adds @region to the update area for @window.
  *
  * GDK will process all updates whenever the frame clock schedules a redraw,
  * so there’s no need to do forces redraws manually, you just need to